﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace MagicFight
{
    public class RetributionAura : Magic
    {
        int duration = Def.RetributionAuraDef.Duration;
        public float multiplier = Def.RetributionAuraDef.Multiplier;

        public RetributionAura(Character caster)
            : base(caster, Def.RetributionAuraDef.N)
        {
            //ps.effectsManager.Add(new HolyAura(this)); 
        }

        public override void Effect(GameTime gameTime)
        {
            // O efeito desta magia está em Character.TakeDamage()
            if (lifeTime > duration) { alive = false; return; }
        }
    }
}